package com.canxi.games.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.canxi.games.domain.CxGamesConfig;
import com.canxi.games.domain.bo.CxGamesConfigBo;
import com.canxi.games.domain.vo.CxGamesConfigVo;
import com.canxi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 游戏配置Mapper接口
 *
 * @author ruoyi
 * @date 2024-08-19
 */
public interface CxGamesConfigMapper extends BaseMapperPlus<CxGamesConfigMapper, CxGamesConfig, CxGamesConfigVo> {

    /**
     * @description: TODO 分页查询游戏配置列表
     * @author: ruoyi
     * @date: 2024-08-19
     * @param:
     * @param: page
     * @param: cxGamesConfigVo
     * @return:
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<Vo>
     **/
    Page<CxGamesConfigVo> queryCxGamesConfigList(Page<?> page, @Param("cxGamesConfigVo") CxGamesConfigVo cxGamesConfigVo);

    /**
     * @description: TODO 查询游戏配置列表
     * @author: ruoyi
     * @date: 2024-08-19
     * @param:
     * @param: cxGamesConfigVo
     * @return:
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<Vo>
     **/
    List<CxGamesConfigVo> queryCxGamesConfigList(@Param("cxGamesConfigVo") CxGamesConfigVo cxGamesConfigVo);

    /**
     * @description: TODO 根据id查询游戏配置
     * @author: ruoyi
     * @date: 2024-08-21
     * @param:
     * @return:
     * @return Vo
     **/
    List<CxGamesConfigVo> queryCxGamesConfigByIds(@Param("ids") String ids);


    /**
     * @description: TODO 根据id查询游戏配置
     * @author: ruoyi
     * @date: 2024-08-21
     * @param:
     * @return:
     * @return Vo
     **/
    CxGamesConfigVo queryCxGamesConfigById(@Param("Id") String id);

    /**
     * 根据
     * @param userId
     * @return
     */
    CxGamesConfigVo queryCxGamesConfigByUserId(@Param("userId") String userId,@Param("level")long level);
}
